package com.jz.netthings.bean;

import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

/**
 * @author yyy
 * @ClassName AdscmLogEntity
 * @Description 系统日志实体类
 * @date 2018/8/6 17:47
 */
@TableName(value = "jy_operator_log")
public class AdscmLogEntity {

    private Long id;
    /**
     * 操作人ID
     */
    private Integer userId;
    /**
     * 操作人用户名
     */
    private String username;
    /**
     * 操作人姓名
     */
    private String name;
    /**
     * 请求模块
     */
    private String reqModular;
    /**
     * 操作
     */
    private String operation;

    /**
     * 操作参数
     */
    private String operParam;
    /**
     * 发起请求的IP
     */
    private String reqIp;
    /**
     * 日志中记录的操作结果
     */
    private String result;
    /**
     * 操作发生的时间戳
     */
    private Date reqTime;
    /**
     * 异常信息
     */
    private String error;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReqModular() {
        return reqModular;
    }

    public void setReqModular(String reqModular) {
        this.reqModular = reqModular;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getReqIp() {
        return reqIp;
    }

    public void setReqIp(String reqIp) {
        this.reqIp = reqIp;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Date getReqTime() {
        return reqTime;
    }

    public void setReqTime(Date reqTime) {
        this.reqTime = reqTime;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getOperParam() {
        return operParam;
    }

    public void setOperParam(String operParam) {
        this.operParam = operParam;
    }
}
